Updates templates for JS bindings