updated js val for create page