added some vars to js