fix js bug: set css value