user_variables: replace string_hashmap with ordinary javascript object implementation