Switched to https and moved mime type logic to backend
Moved script tags to head and added defer
Semi colon