Fixed skills javascript error