added in javascript for syntax cchecking