adds tips javascript, model, view