Fix naming and remove duplicate brick js file