Removed jQuery dependency.

Removed jQuery dependency to modern javascript methods.