added tests for javascript styles