added js folder to public

fixed #2