mobile tweaks and move from ender to jQuery.