Run Cocos2d-js project from index.jsp file

Hi, as we create new project, by default it is run by index.html file, if I change it to .jsp extension then it gives error at CCLabelTTFCanvasRenderCmd.js:41.
It run successfully even if I change it to .php extension.
I am pasting error below:-
CCLabelTTFCanvasRenderCmd.js:41 Uncaught SyntaxError: Invalid regular expression: /([a-zA-Z0-9-¿¡«À-ÖØ-öø-ʯ\u0300-\u034e\u0350-\u036FͰ-ԯ\u2011‵-‷‹⁅]+|\S)/: Range out of order in character class
at CCLabelTTFCanvasRenderCmd.js:41

CCLabelTTFWebGLRenderCmd.js:33 Uncaught TypeError: Cannot read property ‘prototype’ of undefined
at CCLabelTTFWebGLRenderCmd.js:33
at CCLabelTTFWebGLRenderCmd.js:37

Uncaught TypeError: this._cacheCmdCtor is not a function
at new cc.LabelTTF.WebGLRenderCmd (CCLabelTTFWebGLRenderCmd.js:29)
at Class._createRenderCmd (CCLabelTTF.js:855)
at Class.ctor (CCNode.js:207)
at Class.ctor (CCSprite.js:125)
at Class.ctor (CCLabelTTF.js:152)
at new Class (CCClass.js:217)
at Class.init (CCLoaderScene.js:68)
at Function.cc.LoaderScene.preload (CCLoaderScene.js:156)
at Object.cc.game.onStart (main.js:107)
at Array. (CCBoot.js:2557)
cc.LabelTTF.WebGLRenderCmd @ CCLabelTTFWebGLRenderCmd.js:29
_createRenderCmd @ CCLabelTTF.js:855
ctor @ CCNode.js:207
ctor @ CCSprite.js:125
ctor @ CCLabelTTF.js:152
Class @ CCClass.js:217
init @ CCLoaderScene.js:68
cc.LoaderScene.preload @ CCLoaderScene.js:156
cc.game.onStart @ main.js:107
(anonymous) @ CCBoot.js:2557
(anonymous) @ CCBoot.js:725
self.onEnd @ CCBoot.js:316
(anonymous) @ CCBoot.js:290
(anonymous) @ CCBoot.js:743
load (async)
_createScript @ CCBoot.js:740
(anonymous) @ CCBoot.js:708
self._handleItem @ CCBoot.js:273
self.flow @ CCBoot.js:306
map @ CCBoot.js:400
loadJs @ CCBoot.js:705
loadJsWithImg @ CCBoot.js:722
prepare @ CCBoot.js:2554
(anonymous) @ CCBoot.js:2569
_afterEngineLoaded @ CCBoot.js:2181
(anonymous) @ CCBoot.js:2207
(anonymous) @ CCBoot.js:725
self.onEnd @ CCBoot.js:316
(anonymous) @ CCBoot.js:290
(anonymous) @ CCBoot.js:743
load (async)
_createScript @ CCBoot.js:740
(anonymous) @ CCBoot.js:708
self._handleItem @ CCBoot.js:273
self.flow @ CCBoot.js:306
map @ CCBoot.js:400
loadJs @ CCBoot.js:705
loadJsWithImg @ CCBoot.js:722
(anonymous) @ CCBoot.js:2205
(anonymous) @ CCBoot.js:935
loadCallback @ CCBoot.js:814
load (async)
loadTxt @ CCBoot.js:839
loadJson @ CCBoot.js:923
_load @ CCBoot.js:2194
cc.initEngine @ CCBoot.js:2242
prepare @ CCBoot.js:2568
(anonymous) @ CCBoot.js:2502
loaded @ CCBoot.js:2689
loadCallback @ CCBoot.js:814
load (async)
loadTxt @ CCBoot.js:839
_loadConfig @ CCBoot.js:2702
prepare @ CCBoot.js:2501
run @ CCBoot.js:2596
(anonymous) @ main.js:111

Please help me to resolve this query