Some js tweaks for responsive