Added building via uglify and docs via yuidoc.