Added javascript shift checker