only add the closure to js.io source if it is a function -- fixes bug when including --jsio flag to compiler
only add the closure to js.io source if it is a function -- fixes bug when including --jsio flag to compiler

hashcube/js.io,hashcube/js.io,gameclosure/js.io,gameclosure/js.io