Created a javascript syntax checker