make javascript neater
Merge pull request #27 from CodeRunners14/neater-js

make javascript neater