Added support for the follow option. Made jslint somewhat more happy about formating.