Updated sprite style, ported icore JS to fix JS errors