Additional methods to out.js module. Fixed typo