moved content javascript to edit page
Merge pull request #23 from jeromeall/master

moved content javascript to edit page