Move javascript code to js folder

Signed-off-by: mudelta <davymeers@hotmail.com>
Merge pull request #2 from mudelta/master

Move javascript files to js folder