Split widgets into their own .js file.