Removed jQuery dependancy