Added dashboard's js and dashboard's tests