Fixed copying the markers.js and markers-generated.js to the output dir.
(Wasn't copied even if the file didn't exist in the output dir)
Show marker control only when necessary.