I tried to do this but it won't save the Java script to the field