removed some JSHint Warnings