Changing == to === in javascript file
Minimizing appends for performance, fixed typo'