#267204 by ksenzee. fix some render problems in theme developer by emitting span around page using js instead of php.