Added more documentation and will integrate grunt for building and linting js files