Updated JS to load icon