a part of dashboard js,using gridster and jquery