change to js variables.