added gradle build for js