fixes #284
Made more readable
Separate Admin Panel Javascript into it's own file
Updating formatting of promises
Updating formatting of promises
minor fix
fixes #215 and #222
fixes #277
Fixes empty titles
Merge pull request #285 from CosmoCMS/james

James