javascript wrapper for the 4chan rest api