Updated code
Added jquery