adjusting to the dirname() api
updating to the newest newbt branch of sproutcore