fixed timezone issues with created_at in config/application.rb and fixed a bug with ajax - everything is a function now so it makes it easier to add click-detection and such to ajax newly-created shiz