Create text.js

This is the javascript file to add the selected effect on the selected block of text..