Reorder grunt dist tasks to ensure JS gets copied over