add use strict and allow to work in browser