fixed xml2js for browser env
fixed coffee lint error
running tests in browser with karma