move javascript to clarify structure
Merge pull request #107 from mojotech/km/move-javascript

move javascript to clarify structure