fixing JS compiling.. rev to v0.2.1