- Changed Variables to camelCase and fixed variable definitions as per JSLint suggestions