[DEV] Another fix attempt for JS weight