added jquery functionality

still need to optimize as i have no idea what the fuck im doing with
jquery WHOOPS dont punish me for this code ;_;