ADD js require independence SUPPORT

Signed-off-by: Richard Lea <chigix@zoho.com>