Pass app_config to javascript. Closes #26.