Javascript implementation

Still feel like this is a really bad idea  FYI: Heroku doesn't support sqlite3, so if you try to deploy this code base there it will _never_ work.