work on resource views, add jquery