Changed adjustments variable to array.
Removed obsolete preventDefault call.
Just syntax corrections.