jsHint cleanup & other cleanup