Moving main source JS to root folder (trying to solve CodeClimate problems) [ci skip]