renamed javacript variables to match help text