A small JavaScript framework with AMD aproach