removed unneeded ); in javascript