updated with jquery and shortened.