Added jquery to files and everything is working properly.