attempting to port reddit.php functions to get-reddit-js.js
fixPrefix and fixPostfix are passing all tests
fixed getJsonItem test
all tests pass