fix js to work with new layout