Getting js files sorted out