Some cleanup in the JS, using rem instead of em