Added notes on ubuntu 14.04 NPM, and MacOSX grunt for browser build dependencies
Improved code style for typed index creation and test for invalid type