rm console log
Change undefined to null
Clean up view conditionals
Remove empty return