issue #74 js warn fixes