Added javascript to indicators