Add marks remotely through JS button