added slug
working to add javascript open slug