Clean up view adapter js.