fixed php-date javascript library loaded