Mail box not loading all js resources, fix