Updated JS

Added background image to positive result; cleaned code