Added declaration of varible resized.

Added declaration of variable resized and semicolons.
Update public/preprocess.js
Merge pull request #7 from coderaiser/master

Added declaration of variable resized