Cleaned up some old javascript syntax.