removed faulty javascript