scaffold javascript refactoring
fixes  configuration "register.marshaller"