Fixed readme example JS syntax error. Added tests for initial and programmatic argument adding. Made geometry and unsharp input types be escaped.