javascript cleanup
Merge pull request #113 from owncloud/js-cleanup

javascript cleanup