Add use strict + Update js doc