Fixed js init example for newest plugin version