updates to javascript and new underscore library