Main js file in approximately final state. Work on info module and layers