Partially enabled advanced javascript optimisations in the build script. Still a way to go. See issue #49