Added modified javascript