added jquery functions and more css