Added a JavaScript event to the renderPartial method for successfully loaded views via ajax