Update SkyLegends.js

OOPS Almost made a syntax error :D