Update standalone version. Fix some jslint issues.