added js functionality to mytales#new, needsMAJOR refactor