fix JS errors from removing modrnizr