Added normilize path to Resource.js so it is agnostic of plataform separators