delete unrelated stuff, bugfixes, no php code anymore

i cleaned up a little; use javascript instead of php and deleted depricated stuff (e.g. '\<center\>')