added jquery to index
basic js functions