got it working on a ubuntu server, plenty of jquery/jsdom problems