Excluding 3rd party libs and a JSHint rule. Also fixing some warnings