Set trainjs cookie expires