removed obsolet js incluedes in templates and few minor fixes

Fixed:
- The file Version.php assigns core_min twice.
- removed effects.js from templates.
- removed spaces from empty lines.