Rename scroll method in js