Updating local javascript code base structure