Fix and port map shown with tag for rails 4
Port and fix clipping for Rails3 jquery etc