don't build data in javascript if it's not in the context.