fix style and compare js