Small refactoring on tracks js file. Added blockUI plugin