Add js back function to views