add jquery, recognize pastes