Updated luminosity checker to check input[type=button] elements.