Allow defining inline scripts in index