Added some changes to dashboard js