modified javascript load