#4 Added karma.conf.js. Updated travis config for Javascript tests. Moved javascript tests.