Correct local reference missed in refactoring
Update javascript lib instructions