Gem didnt work. removing jquery to isolate the problem.