#296: Move javascript into assets directory

Resolves #296.