php 3.3 compatibility
small js output bug