webpack compatible form2js