Removed unnecessary style.js

The code belongs properly in ui.js