added reqiureJS and added AMD support for tooltip plugin