fixed php imbedded in java script