fix for bug: #7742

was caused by csp policy.
I removed the javascript and replaced it with php.

Works on chromium, firefox and konqueror.