put 'markers' into external js file, renamed things