Updated build file to work with gradle-js-plugin 1.3, added docs on compiling