(#16) removed global window.laxarMode property, added optimize to npm prepublish and scripts