Refactored display of resources

Added initla display in jQuery document ready
Fixed bug where title would sometimes draw off center