Removed unneeded JS code.