Added jquery, removed php end tags