Add version control for JS especially on debug
Fixed the language version bug