minor bug fix
Moved javascript into public folder
Merge branch 'master' of https://github.com/Stephenitis/beagle