added on submit in order js for pallet assignent, added function for handeling form post in server.js