Added finishing touch to Ninja easter egg JS function