added js file for online use
removed console log messages