adding requires to js asset