bst iife and amd