Vote js bugfix
Move defer