added helpers and some js for creating microposts