working on structureing the blade.js