Added a few front end script imports
Also fixed up an issue with invites
Merge pull request #230 from Wizecoder/fix-imports

Fix imports and hopefully get the dev site working again