Moved script tag to bottom of body
Completed makeOrder() over order optimization