time calculation change

most mobile platforms do not support Date.toLocaleString with options,
so changed methods. Changed bower dependencies