onReq/startup javascript