created an app_path variable to solve? relative ajax urls