Changed travel helpers to javascript