added function to allow other plugins to load frontend scripts
Changed nap package to orginal version