Fix js styles and add missing goog.require