Separating the pages of FUNCOES JS

It is not gonna work in prod, we need a full path or use the base_url here.