Fixed all issues in order to follow the new jsHint Rules