Added mobile detection to webform templates