added framework.js that should contain very general js functions (not specific to this blog app). Moved ajax() and removeElement() function to that file. Refactored ajax() to handle POST requests correctly (still need to test)