Adds js actions