add css function in Core.js (demo02.html)