Erased unuseful javascript code.