Added requirements to mainJS