Move javascript tags for datetimepickers to index partial.