Removed obsolete files and moved text.js to more proper location