Added a simple interface to root path

Simple interface in root path to short url using /shorten path through ajax call.