js for back to works button