A modular plugin for fis to wrap javascript with closure or amd define function