fixed js+category date bug