Created initial version potato.js

May include bugs, please wash thoroughly before using.