Adding skeleton js library.
Fixing FF crash on shutdown.