group stuff into modules

oooooooooooooonly because js(hint|cs) takes way too long on my netbook with everything in index.js