#129: Added javascript inline code to view file