remove jspgenerator legacy code