NRTECH-268: javascript syntax check