Making durandal work with foundation