update mobile detect script
merge latest BuddyPress theme compat files