Use script tags instead of eval