replaces prototype with jquery