Fix undefined variable
Remove outdated comments
Use HTML5 data attribute + fix undefined variable
Merge pull request #1321 from owncloud/csp-fixes

Files: CSP fixes