putting JS in single file

Signed-off-by: Nathan Hiemstra <nathanh@criticalmass.com>