To jQuery

Removed native JavaScript in favour of jQuery