added js block to main layout