adds extra classes for javascript syntax parser