commonjsified all the things, removed jQuery