Update skin.js

Fix issue caused by a previous merge