Clean up JS in views and make category icon undragable