Removed useless javascript code.