Small correction in js.
Merge pull request #5 from MorganDawe/7.x-alan_181_fix

Small correction in js.