Removed jQuery deps, converted over to DOM api