Removes dependence on jquery, removes addItem function