new 'onDocReady' method and fixing typos
upgrade to version 0.0.3