Fix foundation/emberjs problems