More fixes for JSLint. Moved os-utils to a package