Partially removed jQuery dependency