added jQuery, implemented update function for line points, design updates