fix javascript related issues.

moved back to having one all.js file.

fixed erb & vm + jsunit tests to have only all.js file.