Made refresh js method available even when view doesn't have a refresh interval since we are using for other things