Made my js beautiful reduced 14 lines to 3 :)