updated to latest mathiasbynens stuff