Corrected tunajs loading mechanism