fabricJS click bug fixed, text controls added, cleaned code