js modfied