fixed javascript geocode stuff -- geocode was never declared or initialized