fixed js ordering