Trying to clean up jade code