changed to static instead of ajax