the startup code should check if "layerjs" is already defined. if yes it should warn to console about this and not initialise anymore.