Put SCRIPT tags inside BODY in page sub-generator