fixing js version not compiling