Adds jamesism javascript solution

bind based js solution, multiple use even when called with no terminating string function i.e, g()()() won't mess up the next call g()('al'). Arguments join is probably a bad way to do this though