Rename head and end haml files, move async to end