Switch modifier js to live